package com.yzfarm.biujoke.biujoke.mvp.model.datamanager;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.widget.ImageView;

/**
 * Created by hanhy on 2016/9/28.
 */

public abstract class ImageLoader {

    public abstract void load(Context context, String url, ImageView iv);

    public abstract void load(Context context, String url, ImageView iv,int defDrawableId);

    public abstract void load(Context context, String url, ImageView iv,Drawable defDrawable);

    public abstract void load(Context context, String url, ImageView iv,int defDrawableId,int errorDrawableId);

}
